package org.inspursc.s0517.health.common.service;



import org.inspursc.s0517.health.common.dto.TempFilePathDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


/**
 * @author B_Dream
 * @date 2018/5/28 23:06
 */
public interface FileDealService {
    /**
     * 批量或者单个上传文件接口
     *
     * @param request 请求参数含上传文件
     * @return
     * @throws Exception
     */
    List<TempFilePathDTO> uploadsBatchFiles(HttpServletRequest request) throws Exception;



    TempFilePathDTO uploadsFile(MultipartFile file,HttpServletRequest request) ;
}
